//
//  UIFont+FWPowerful.m
//  iOSToolkit
//
//  Created by Evan Xie on 9/17/14.
//  Copyright (c) 2014 Family Wings. All rights reserved.
//

#import "UIFont+FWPowerful.h"

@implementation UIFont (FWPowerful)

+ (NSArray *)allSupportedFontNames
{
    NSMutableArray *allFontNames = [NSMutableArray arrayWithCapacity:0];
    NSArray *families = [UIFont familyNames];
    
    for (NSString *family in families) {
        NSArray *fontNames = [UIFont fontNamesForFamilyName:family];
        [allFontNames addObjectsFromArray:fontNames];
    }
    
    return allFontNames;
}

+ (UIFont *)zapfinoFontWithSize:(CGFloat)size
{
    return [UIFont fontWithName:@"Zapfino" size:size];
}

+ (UIFont *)markerFeltWideFontWithSize:(CGFloat)size
{
    return [UIFont fontWithName:@"MarkerFelt-Wide" size:size];
}

+ (UIFont *)markerFeltThinFontWithSize:(CGFloat)size
{
    return [UIFont fontWithName:@"MarkerFelt-Thin" size:size];
}


@end
